all: configure

configure:
	(aclocal -I .; autoconf; automake --add-missing; ./configure; mv emc ..; chmod +x ../emc)

clean: 
	rm -rf *~ config.log configure config.status config.cache emc
	rm -rf aclocal.m4 autom4te.cache depcomp install-sh missing

mrproper: clean
